package net.cherrylab.trpg.vo
{
	[Bindable]
	public class RoleVO
	{
		private var _roleName:String;
		
		private var _roleLv:int;
		
		private var _roleRace:RaceVO;
		
		private var _roleJob:String;
		
		private var _roleSex:String;
		
		private var _roleAge:int;
		
		private var _roleHeight:int;
		
		private var _roleWeight:int;
		
		private var _attribute:AttributeVO;
		
		private var _ability:AbilityVO;
		
		private var _ac:Defenses;
		
		private var _fortDef:Defenses;
		
		private var _refDef:Defenses;
		
		private var _willDef:Defenses;
		
		public function RoleVO()
		{
		}

		/**
		 * 角色姓名
		 * */
		public function get roleName():String
		{
			return _roleName;
		}

		/**
		 * @private
		 */
		public function set roleName(value:String):void
		{
			_roleName = value;
		}

		/**
		 * 角色体型
		 * */
		public function get roleLv():int
		{
			return _roleLv;
		}

		/**
		 * @private
		 */
		public function set roleLv(value:int):void
		{
			_roleLv = value;
			/*if(value<=10)
			{
				_roleClass="";
			}
			if(value>10&&value<=20)
			{
				_roleClass="典范之道";
			}
			if(value>20)
			{
				_roleClass="史诗天命";
			}*/
		}

		/**
		 * 角色种族
		 * */
		public function get roleRace():RaceVO
		{
			return _roleRace;
		}

		/**
		 * @private
		 */
		public function set roleRace(value:RaceVO):void
		{
			_roleRace = value;
		}

		/**
		 * 角色职业
		 * */
		public function get roleJob():String
		{
			return _roleJob;
		}

		/**
		 * @private
		 */
		public function set roleJob(value:String):void
		{
			_roleJob = value;
		}


		/**
		 * 角色性别
		 * */
		public function get roleSex():String
		{
			return _roleSex;
		}

		/**
		 * @private
		 */
		public function set roleSex(value:String):void
		{
			_roleSex = value;
		}

		/**
		 * 角色年龄
		 * */
		public function get roleAge():int
		{
			return _roleAge;
		}

		/**
		 * @private
		 */
		public function set roleAge(value:int):void
		{
			_roleAge = value;
		}

		/**
		 * 角色身高
		 * */
		public function get roleHeight():int
		{
			return _roleHeight;
		}

		/**
		 * @private
		 */
		public function set roleHeight(value:int):void
		{
			_roleHeight = value;
		}

		/**
		 * 角色体重
		 * */
		public function get roleWeight():int
		{
			return _roleWeight;
		}

		/**
		 * @private
		 */
		public function set roleWeight(value:int):void
		{
			_roleWeight = value;
		}

		/**
		 * 属性
		 * */
		public function get attribute():AttributeVO
		{
			return _attribute;
		}

		/**
		 * @private
		 */
		public function set attribute(value:AttributeVO):void
		{
			_attribute = value;
		}

		/**
		 * 角色AC
		 * */
		public function get ac():Defenses
		{
			return _ac;
		}

		/**
		 * @private
		 */
		public function set ac(value:Defenses):void
		{
			_ac = value;
		}

		/**
		 * 强韧防御值
		 * */
		public function get fortDef():Defenses
		{
			return _fortDef;
		}

		/**
		 * @private
		 */
		public function set fortDef(value:Defenses):void
		{
			_fortDef = value;
		}

		/**
		 * 反射防御
		 * */
		public function get refDef():Defenses
		{
			return _refDef;
		}

		/**
		 * @private
		 */
		public function set refDef(value:Defenses):void
		{
			_refDef = value;
		}

		/**
		 * 意志防御
		 * */
		public function get willDef():Defenses
		{
			return _willDef;
		}

		/**
		 * @private
		 */
		public function set willDef(value:Defenses):void
		{
			_willDef = value;
		}

		/**
		 * 属性调整值
		 * */
		public function get ability():AbilityVO
		{
			return _ability;
		}

		/**
		 * @private
		 */
		public function set ability(value:AbilityVO):void
		{
			_ability = value;
		}


		


	}
}